package com.bootsecurity.security.repository;

import com.bootsecurity.security.bean.SysUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: liubin
 * Date: 2018-01-03
 * Time: 下午 5:37
 * @author 001030
 */
public interface SysUserRepository extends JpaRepository<SysUser,Long>{
    /**
     *
     * @param userName
     * @return
     */
    SysUser findByUsername(String userName);

}
